Data Structures
Many of the Open Transport functions take pointers to data structures as parameters. Table A-4 shows the standard XTI data structure names and the corresponding preferred-C interface structure names.
Table A-4 XTI-to-Open Transport data structure cross-reference
XTI name Open Transport name int fd
EndpointRef
t_info
TEndpointInfo
t_netbuf
TNetbuf
t_bind
TBind
t_discon
TDiscon
t_call
TCall
t_unitdata
TUnitData
t_uderr
TUDErr
t_optmgmt
TOptMgmt
Table A-5 lists the apple extensions to XTI data structures.
Table A-5 Apple extensions to XTI data structures
Open Transport name XTI name TOptionhdr
t_opthdr
TRequest
t_request
TReply
t_reply
TUnitRequest
t_unitrequest
TUnitReply
t_unitreply